package com.knowif.dao;

import com.knowif.pojo.RedpacketActivity;
import com.knowif.pojo.RedpacketActivityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RedpacketActivityMapper {
    int countByExample(RedpacketActivityExample example);

    int deleteByExample(RedpacketActivityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RedpacketActivity record);

    int insertSelective(RedpacketActivity record);

    List<RedpacketActivity> selectByExample(RedpacketActivityExample example);

    RedpacketActivity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RedpacketActivity record, @Param("example") RedpacketActivityExample example);

    int updateByExample(@Param("record") RedpacketActivity record, @Param("example") RedpacketActivityExample example);

    int updateByPrimaryKeySelective(RedpacketActivity record);

    int updateByPrimaryKey(RedpacketActivity record);
}